package com.zhou.dao;

import com.github.pagehelper.Page;
import com.zhou.pojo.Cmedicine;
import com.zhou.pojo.CmedicineMember;
import com.zhou.pojo.Psychological;
import com.zhou.pojo.PsychologicalMember;

import java.util.List;

public interface HealthMapper {
    List<Psychological> findAllPsychological();

    void addPsychologicalMember(PsychologicalMember psychologicalMember);


    List<Cmedicine> findAllCmedicine();

    void addCmedicineMember(CmedicineMember cmedicineMember);

    Page<CmedicineMember> findCmedicineMemberByPage(String queryString);

    Page<PsychologicalMember> findPsychologicalMemberByPage(String queryString);

    void deleteCmedicineMemberById(Integer id);

    void deletePsychologicalMemberById(Integer id);

    void editCmedicineMember(CmedicineMember cmedicineMember);

    void editPsychologicalMember(PsychologicalMember psychologicalMember);

    List<CmedicineMember> findCmedicineMemberById(Integer id);

    List<PsychologicalMember> findPsychologicalMemberById(Integer id);
}
